package com.story.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;

/**
 * @author pyx
 * @date 2019/12/27 14:50
 * @param
 * @return
*/
public class Search extends Model<Search> {

	/**  */
	private Integer searchId;
	/** 关键词 */
	private String keyword;
	/** 人气 */
	private Integer popularity;
	/** 视频专辑 */
	private Integer videoAlbum;
	/** 视频内容 */
	private Integer videoContent;
	/** 音乐专辑 */
	private Integer musicAlbum;
	/** 音乐内容 */
	private Integer musicContent;
	/**  */
	private java.util.Date createTime;
	/**  */
	private java.util.Date lastTime;

	public Integer getSearchId() {
		return searchId;
	}

	public void setSearchId(Integer searchId) {
		this.searchId = searchId;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getPopularity() {
		return popularity;
	}

	public void setPopularity(Integer popularity) {
		this.popularity = popularity;
	}

	public Integer getVideoAlbum() {
		return videoAlbum;
	}

	public void setVideoAlbum(Integer videoAlbum) {
		this.videoAlbum = videoAlbum;
	}

	public Integer getVideoContent() {
		return videoContent;
	}

	public void setVideoContent(Integer videoContent) {
		this.videoContent = videoContent;
	}

	public Integer getMusicAlbum() {
		return musicAlbum;
	}

	public void setMusicAlbum(Integer musicAlbum) {
		this.musicAlbum = musicAlbum;
	}

	public Integer getMusicContent() {
		return musicContent;
	}

	public void setMusicContent(Integer musicContent) {
		this.musicContent = musicContent;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(java.util.Date lastTime) {
		this.lastTime = lastTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.searchId;
	}

	@Override
	public String toString() {
		return "Search{" +
				"searchId=" + searchId +
				", keyword='" + keyword + '\'' +
				", popularity=" + popularity +
				", videoAlbum=" + videoAlbum +
				", videoContent=" + videoContent +
				", musicAlbum=" + musicAlbum +
				", musicContent=" + musicContent +
				", createTime=" + createTime +
				", lastTime=" + lastTime +
				'}';
	}
}